package cn.com.cifi.mars.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

/**
 * <p>
 * 审批日志表
 * </p>
 *
 * @author plx
 * @since 2020-03-25
 */
@TableName("t_approval_log")
public class ApprovalLog implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.INPUT)
    private String id;

    /**
     * 单据ID
     */
    private String billId;

    /**
     * 审批状态（1-发起，2-更新，3-废弃，4-删除）
     */
    private String state;

    /**
     * 来源(1-oa,2-mars)
     */
    private String source;
    /**
     * 内容
     */
    private String content;

    /**
     * 描述信息
     */
    private String description;

    /**
     * 创建时间
     */
    private LocalDateTime createdTime;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }
    public String getBillId() {
        return billId;
    }

    public void setBillId(String billId) {
        this.billId = billId;
    }
    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }
    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }
    
    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }
    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }
    public LocalDateTime getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(LocalDateTime createdTime) {
        this.createdTime = createdTime;
    }


	@Override
    public String toString() {
        return "ApprovalLog{" +
        "id=" + id +
        ", billId=" + billId +
        ", state=" + state +
        ", source=" + source +
        ", content=" + content +
        ", description=" + description +
        ", createdTime=" + createdTime +
        "}";
    }
}
